package com.jamila.scancode.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author JAMILA
 * @since 2024-03-30 01:42:05
 */
@Getter
@Setter
@TableName("main_experience")
@ApiModel(value = "MainExperience对象", description = "")
public class MainExperience {

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("手机号码")
    @TableField("tel")
    private String tel;

    @ApiModelProperty("入学时间")
    @TableField("intake")
    private LocalDate intake;

    @ApiModelProperty("毕业时间")
    @TableField("graduation_time")
    private LocalDate graduationTime;

    @ApiModelProperty("毕业学校")
    @TableField("graduation_school")
    private String graduationSchool;

    @ApiModelProperty("学历")
    @TableField("education")
    private String education;

    @ApiModelProperty("是否最高学历(0-不是，1-是；默认1)")
    @TableField("is_highest")
    private Integer isHighest;

    @ApiModelProperty("专业")
    @TableField("major")
    private String major;

    @ApiModelProperty("所获荣誉")
    @TableField("honors")
    private String honors;

    @ApiModelProperty("附件")
    @TableField("annex")
    private String annex;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty("逻辑删除(0-未删除，1-删除；默认0)")
    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;
}
